package com.ftg.learn.chapter08.isa.ex;

/**
 * @author kangjx
 * @createTime 2023/1/6
 */
public class B extends A{
    int b = 9;

    static{
        System.out.println("4B的静态块");
    }

    //初始化块 比构造方法先行
    {
        System.out.println("5B的实例块");
    }

    public B(){
        System.out.println("6B 构造方法");
    }

    public void test3(){

    }



}
